package com.web.manager.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName("passage_list")  //表的名字
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Passage {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String type;
    private String time;
    private String publisher;
    private String context;
    private String img;
    private String score;
    private String introduction;
    @TableField(exist = false)  //该字段在数据库中不存在
    private String token;

}
